<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改商品禁止发货区域')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">

            <div class="ibox-content">
                <form class="form-horizontal m-t" id="signupForm">
                    <input id="id" name="id" th:value="${regionDO.id}"
                           type="hidden">
                    <p style="color:red">提示：多个关键字之间用中文输入法的逗号连接，</p>
                    <p style="color:red">如：新疆，西藏，辽宁省-沈阳市-和平区，输入内容不能有空格</p>
                    <div class="form-group">
                        <div id='divGroupStr' class="form-group" >
                            <label class="col-sm-2 control-label">禁止下单区域：</label>
                            <div class="col-sm-8">
                                <input id="value" name="value" th:value="${regionDO.value}" class="form-control" type="text">
                            </div>
                        </div>
                    </div>
<!--                    <div class="form-group">-->
<!--                        <div class="col-sm-8 col-sm-offset-3">-->
<!--                            <button type="submit" class="btn btn-primary">提交</button>-->
<!--                        </div>-->
<!--                    </div>-->
                </form>
            </div>
        </div>
    </div>
</div>

<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />


<script type="text/javascript">
    var prefix = ctx + "system/goods";
    $("#form-goodsGoods-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/setRegion", $('#signupForm').serialize());
        }
    }
</script>
</body>
</html>